package com.jf3q.front.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jf3q.common.domain.EduTeacher;
import com.jf3q.common.mapper.EduTeacherMapper;
import com.jf3q.common.vo.TeacherVo;
import com.jf3q.front.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherServiceImpl extends ServiceImpl<EduTeacherMapper, EduTeacher> implements TeacherService {

    @Autowired
    EduTeacherMapper teacherMapper;

    @Override
    public List<EduTeacher> selectTeacherMaster() {
        return teacherMapper.selectTeacherMaster();
    }

    @Override
    public TeacherVo selectTeacherById(String id) {
        return teacherMapper.selectTeacherById(id);
    }
}
